Source Transformation of C++ Codes for Compatibility with Operator Overloading
نویسندگان
چکیده
منابع مشابه
Interfacing source transformation AD with operator overloading libraries
Scientific applications are usually written in a single language such as C, C++, or a flavor of Fortran. Various algorithmic differentiation (AD) tools exist to differentiate these applications by using source transformation [1, 2, 3, 4] or operator-overloading [5, 6]. The language that an application is written in often dictates the approach and tool to be used for differentiation. Additionall...
متن کاملOperator Overloading in C
This thesis is concerned with investigating an approach for adding problem notation to a computer language. A method is proposed for modifying a programming language to fit problem notation by including the capability of defining a problem specific set of symbols or operators in the language. The proposed method for extending a language uses operator overloading to map language operations to th...
متن کاملA A Source Transformation via Operator Overloading Method for the Automatic Differentiation of Mathematical Functions in MATLAB
Automatic differentiation, or as it has more recently been termed, algorithmic differentiation, (AD) is the process of determining accurate derivatives of a function defined by computer programs [Griewank 2008] using the rules of differential calculus. The objective of AD is to employ the rules of differential calculus in an algorithmic manner in order to efficiently obtain a derivative that is...
متن کاملImplementing Generalized Operator Overloading
This paper presents a practical method of adding problem-specific notation to an established computer language. Our idea is to use unrestricted operator overloading as a tool to map the problem domain notation directly into an existing programming language. Our method introduces new operator symbols and function names into a host language by overloading existing usage. We extend the host progra...
متن کاملCmpsci 377 Operating Systems 3.1 Operator Overloading in C++
It allows you to provide an intuitive interface to users of your class, plus makes it possible for templates to work equally well with classes and built-in/intrinsic types. Operator overloading allows C/C++ operators to have user-defined meanings on user-defined types (classes). Overloaded operators are syntactic sugar for function calls: Fred f(const Fred& a, const Fred& b, const Fred& c) { re...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Procedia Computer Science
سال: 2016
ISSN: 1877-0509
DOI: 10.1016/j.procs.2016.05.470